Expand description

Main protocol implementation.

This crate provides the basic components in order to be able to send and receive commands and events from a device.

It is meant to be as lean as possible in order to run in restricted environments. For this reason, it doesn’t include any transport implementations.

Re-exports

pub use commands::Commands;
pub use commands::FromMemory;
pub use packet::ParseError;
pub use source::Source;
pub use fixed_point::FixedPoint;
pub use dialect::AddrEncoding;
pub use dialect::Dialect;
pub use dialect::FloatEncoding;

Modules

Commands sent to the device and their responses

Static device definitions

EEPROM Addresses

Functions for framing and unframing packets, and computing their checksums

Utilities to get a mapping from the source name to the source id Most of this logic was translated from the cordova app

Structs

Hardware id and dsp version

Settings applying to all outputs